﻿using RecruitStudents.Client.BLL;
using RecruitStudents.Utility;
using RecruitStudents.Utility.Helper;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RecruitStudents.Client.Score
{
    public partial class Score_ScoreUpForm_Option : BaseForm
    {
        ServiceScore service = new ServiceScore();
        public string strAllowExamID = "";
        public string strSpecialityKindsNO = "";
        public string strExamLevel = "";
        public Score_ScoreUpForm_Option()
        {
            InitializeComponent();
        }

        public void ShowForm()
        {
            DataGridBind();
            this.ShowDialog();
        }

        private void DataGridBind()
        {
            using (DataTable dt = service.GetTeacherScoreList(strAllowExamID, SessionerHelper.ExaminationID, strSpecialityKindsNO, strExamLevel))
            {
                dgvQD.DataSource = dt;
            }
        }
    }
}
